package com.bonjour.work.feign;

import com.bonjour.work.dto.SearchResumeResult;
import com.bonjour.work.dto.request.JobSearchResumeReq;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@Component
@FeignClient(name="recommend",url="${server.third.family.uri}",path="/resume")
public interface IResumeRecommendFeign {
    @PostMapping("/recommend")
    List<SearchResumeResult> recommend(JobSearchResumeReq req);
    @PostMapping("/searchNeighbours")
    List<SearchResumeResult> searchNeighbours(Long rid);
}
